import http from "@/utils/http/index";
// 主题设置
export const setTheme = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessMy/setTheme`,
    data,
  });
};
// 显示设置
export const setDisplay = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessMy/setDisplay`,
    data,
  });
};
// 企业声明
export const setDeclare = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessMy/setDeclare`,
    data,
  });
};
// 公告设置
export const setNotice = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessMy/setNotice`,
    data,
  });
};
// 海报行情获取
export const posterGet = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.poster/get`,
    data,
  });
};
// 获取海报背景列表
export const getList = (data: any) => {
  return http<any>({
    method: "GET",
    url: `/bjp/api.auth.poster/getList`,
    data,
  });
};
// 生成海报
export const posterSet = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.poster/set`,
    data,
  });
};

// 基差显示
export const setGoldBasis = (data: any) => {
  return http<any>({
    method: "POST",
    url: `/bjp/api.auth.businessMy/setGoldBasis`,
    data,
  });
};
